package com.wyq.service;

import java.util.List;
import java.util.Map;

import com.wyq.bean.ShowInfo;

public interface ShowInfoService {
	public List getShowInfoById(String id) throws Exception;
	public int saveShowInfo(ShowInfo showInfo) throws Exception;
	public int updateShowInfo(Map showInfo) throws Exception;
	
	public List findPageShowInfos(String start,String limit) throws Exception;
	
	/**
	 * 根据type或urlChannel获取展会信息
	 */
	public List getShowInfoByTypeOrUrlChannel(String type,String urlChannel) throws Exception;
	/**
	 * 删除展会
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int deleteById(String id) throws Exception;
	
	/**
	 * 获取所有的展会信息
	 * @return
	 * @throws Exception
	 */
	public List getAllShowInfo(String isAvailable) throws Exception;

}
